(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[695],{3101:function(a,b,c){"use strict";c.d(b,{F:function(){return j}});var d=c(7294),e="https://embed.videodelivery.net/embed/sdk.latest.js",f=function(){if("undefined"!=typeof window)return window.Stream};function g(a,b,c){(0,d.useEffect)(function(){b.current&&(b.current[a]=c)},[a,c,b])}function h(a,b,c){void 0===c&&(c=i),(0,d.useEffect)(function(){if(b.current){var d=b.current;return d.addEventListener(a,c),function(){return d.removeEventListener(a,c)}}},[c,a,b])}var i=function(){},j=function(a){var b,c,g;return(c=(b=(0,d.useState)(f))[0],g=b[1],(0,d.useEffect)(function(){if(!c){var a=document.querySelector("script[src='"+e+"']"),b=null!=a?a:document.createElement("script");b.addEventListener("load",function(){g(f)}),a||(b.src=e,document.head.appendChild(b))}},[c]),c)?d.createElement(m,Object.assign({},a)):null},k={position:"absolute",top:0,left:0,right:0,bottom:0,height:"100%",width:"100%"},l=function(a){var b=a.children,c=a.responsive,e=a.className,f=a.videoDimensions,g=f.videoHeight,h=f.videoWidth,i=(0,d.useMemo)(function(){return{position:"relative",paddingTop:h>0?g/h*100+"%":void 0}},[h,g]);return d.createElement("div",{className:e,style:c?i:void 0},b)},m=function(a){var b,c,e,i,j,m,n,o,p,q,r,s,t,u=a.src,v=a.adUrl,w=a.controls,x=void 0!==w&&w,y=a.muted,z=void 0!==y&&y,A=a.autoplay,B=void 0!==A&&A,C=a.loop,D=void 0!==C&&C,E=a.preload,F=void 0===E?"metadata":E,G=a.primaryColor,H=a.defaultTextTrack,I=a.height,J=a.width,K=a.poster,L=a.currentTime,M=a.volume,N=a.startTime,O=a.streamRef,P=a.responsive,Q=void 0===P||P,R=a.className,S=a.title,T=a.onAbort,U=a.onCanPlay,V=a.onCanPlayThrough,W=a.onDurationChange,X=a.onEnded,Y=a.onError,Z=a.onLoadedData,$=a.onLoadedMetaData,_=a.onLoadStart,aa=a.onPause,ba=a.onPlay,ca=a.onPlaying,da=a.onProgress,ea=a.onRateChange,fa=a.onResize,ga=a.onSeeked,ha=a.onSeeking,ia=a.onStalled,ja=a.onSuspend,ka=a.onTimeUpdate,la=a.onVolumeChange,ma=a.onWaiting,na=a.onStreamAdStart,oa=a.onStreamAdEnd,pa=a.onStreamAdTimeout,qa=(0,d.useRef)(),ra=null!=O?O:qa,sa=(0,d.useState)({videoHeight:0,videoWidth:0}),ta=sa[0],ua=sa[1],va=(0,d.useRef)(null),wa=(b=u,e=(c={muted:z,preload:F,loop:D,autoplay:B,controls:x,poster:K,primaryColor:G,adUrl:v,defaultTextTrack:H,startTime:N}).muted,i=c.preload,j=c.loop,m=c.autoplay,n=c.controls,o=c.poster,p=c.primaryColor,q=c.adUrl,r=c.startTime,s=c.defaultTextTrack,t=[o&&"poster="+encodeURIComponent(o),q&&"ad-url="+encodeURIComponent(q),s&&"defaultTextTrack="+encodeURIComponent(s),p&&"primaryColor="+encodeURIComponent(p),r&&"startTime="+r,e&&"muted=true",i&&"preload="+i,j&&"loop=true",m&&"autoplay=true",!n&&"controls=false"].filter(Boolean).join("&"),(0,d.useMemo)(function(){return"https://iframe.videodelivery.net/"+b+"?"+t},[])),xa=!function(a){try{return new URL(a).hostname.endsWith("videodelivery.net")}catch(b){return!1}}(u)?wa:u;return g("muted",ra,z),g("controls",ra,x),g("src",ra,u),g("autoplay",ra,B),g("currentTime",ra,void 0===L?0:L),g("loop",ra,D),g("preload",ra,F),g("primaryColor",ra,G),g("volume",ra,void 0===M?1:M),(0,d.useEffect)(function(){var a=f();if(va.current&&a){var b=a(va.current);ra.current=b;var c=b.videoHeight,d=b.videoWidth;c&&d&&ua({videoHeight:c,videoWidth:d})}},[]),h("abort",ra,T),h("canplay",ra,U),h("canplaythrough",ra,V),h("durationchange",ra,W),h("ended",ra,X),h("error",ra,Y),h("loadeddata",ra,Z),h("loadedmetadata",ra,$),h("loadstart",ra,_),h("pause",ra,aa),h("play",ra,ba),h("playing",ra,ca),h("progress",ra,da),h("ratechange",ra,ea),h("seeked",ra,ga),h("seeking",ra,ha),h("stalled",ra,ia),h("suspend",ra,ja),h("timeupdate",ra,ka),h("volumechange",ra,la),h("waiting",ra,ma),h("stream-adstart",ra,na),h("stream-adend",ra,oa),h("stream-adtimeout",ra,pa),h("resize",ra,function(a){if(ra.current){var b=ra.current,c=b.videoHeight,d=b.videoWidth;ua({videoHeight:c,videoWidth:d}),fa&&fa(a)}}),d.createElement(l,{className:R,responsive:Q,videoDimensions:ta},d.createElement("iframe",{ref:va,src:xa,title:S,style:Q?k:void 0,frameBorder:0,height:I,width:J,allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;",allowFullScreen:!0}))}},9237:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/n/[slug]/[id]",function(){return c(1598)}])},8171:function(a,b,c){"use strict";c.d(b,{Z:function(){return i}});var d=c(5893),e=c(3153),f=c(8208),g=c(1664),h=c(1163);function i(a){a.id;var b=a.link,c=a.ch,i=(0,h.useRouter)().query,j=(0,f.$G)("product").t,k="https://snkrjg.rs/p/".concat(b.id,"?utm_campaign=fixed&ch=").concat(i.ch||(void 0===c?null:c)||(b.is_released?22:21));return(0,d.jsxs)("div",{className:"fixed w-full px-4 pb-2-safe bottom-0 md:hidden z-40",children:[(0,d.jsx)("div",{className:"inset-0 absolute bg-gradient-to-t from-white to-transparent"}),(0,d.jsx)(g.default,{href:k,children:(0,d.jsx)("a",{className:"flex p-4 w-full justify-center items-center bg-primary-500 rounded-full relative",target:"_blank",rel:"nofollow",children:(0,d.jsx)("div",{className:"flex flex-col items-end",children:(0,d.jsx)("div",{className:"space-y-1 text-center",children:(0,d.jsxs)("button",{className:"flex items-center space-x-1 font-medium text-xl bg-primary-500 rounded-full text-white focus:outline-none",children:[(0,d.jsx)("span",{className:"leading-none",children:j(b.is_released?"buy-at":"view-at",{shop:b.shop})}),(0,d.jsx)(e.XCv,{className:"w-6 h-6 mt-0.5"})]})})})})})]})}},1598:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSG":function(){return r},"default":function(){return s}});var d=c(5893),e=c(3101),f=c(3801),g=c(8272),h=c(1664),i=c(5675),j=c(8208),k=c(1163);function l(a){a.id;var b=a.link;a.ch,(0,k.useRouter)().query;var c=(0,j.$G)("product").t,e="https://snkrjg.rs/p/".concat(b.id,"?ch=6&utm_campaign=sidebar");return(0,d.jsx)(h.default,{href:e,children:(0,d.jsxs)("a",{className:"flex p-4 -mx-4 space-x-6 md:items-center hover:bg-gray-50 first:rounded-t-xl last:rounded-b-xl",target:"_blank",rel:"nofollow",children:[(0,d.jsx)("div",{className:"flex-1",children:(0,d.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,d.jsx)(i.default,{src:"https://static.sneakerjagers.com/programs/".concat(b.program_id,".png"),alt:b.shop,width:"64",height:"32",quality:"100"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsxs)("h3",{className:"flex items-center font-medium tracking-tight font-brand line-clamp-1",children:[(0,d.jsxs)("div",{className:" font-medium leading-snug",children:[b.full_prices.eur-b.prices.eur>5&&(0,d.jsxs)("span",{className:"mr-2 text-sm italic font-light text-gray-500 line-through",children:["€",b.full_prices.eur,",-"]}),(0,d.jsxs)("span",{children:["€",Math.round(b.prices.eur),",-"]})]}),"WEAR"===b.shop&&(0,d.jsx)("span",{className:"h-4 px-1.5 ml-2 relative -top-0.5 text-[9px] rounded-full font-mono font-normal bg-[#E0EC20]",children:"PRE-LOVED"})]}),(0,d.jsxs)("div",{className:"text-xs text-gray-500 flex flex-wrap md:space-x-2 flex-col space-y-1 md:space-y-0 md:flex-row md:items-center",children:[(0,d.jsx)("span",{children:b.release_date_formatted}),b.is_placeholder&&(0,d.jsx)("span",{className:"bg-purple-700 rounded-lg px-1.5 font-medium text-white text-[8px] tracking-wider",children:"UNCONFIRMED"})]})]})]})}),(0,d.jsx)("div",{className:"flex flex-col items-end",children:(0,d.jsx)("div",{className:"space-y-1 text-center",children:(0,d.jsxs)("button",{className:"flex items-center px-4 py-2 space-x-2 text-sm font-medium text-white rounded-full bg-primary-500 focus:outline-none",children:[(0,d.jsx)("span",{children:c(b.is_released?"buy":"view")}),(0,d.jsx)("span",{children:"›"})]})})})]})})}var m=c(8171),n=c(5935),o=c(9008),p=c(4298),q=c(9888),r=!0;function s(a){var b,c,k=a.item,r=(0,j.$G)("common").t,s=(0,j.$G)("heading").t,t=(0,j.$G)("product").t,u=k.sneakers.map(function(a){return a});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(o.default,{children:(0,n.ZP)(k.yoast_head)}),(0,d.jsxs)("div",{className:"p-8 text-center md:p-16",children:[(0,d.jsx)(h.default,{href:"/news/".concat(k.category.slug),children:(0,d.jsx)("a",{className:"inline-flex px-4 py-1 mb-6 text-sm tracking-wide text-white bg-gray-800 rounded-full md:text-base",dangerouslySetInnerHTML:{__html:k.category.name}})}),(0,d.jsx)("h1",{className:"max-w-2xl mx-auto mb-2 text-3xl font-semibold tracking-tight md:text-5xl font-brand",dangerouslySetInnerHTML:{__html:k.name}}),(0,d.jsx)("div",{className:"text-sm text-gray-500 md:text-base",children:k.created_at_formatted})]}),(0,d.jsxs)("div",{className:"flex flex-wrap justify-center relative",children:[k.sneakers.slice(0,1).map(function(a){return a.links_webshops.length>0&&a.links_webshops.slice(0,1).map(function(b){return(0,d.jsx)(m.Z,{link:b,id:a.id},b.id)})}),(0,d.jsxs)("div",{className:"px-4 md:w-8/12",children:[k.acf["video-id"]?(0,d.jsx)("div",{children:(0,d.jsx)(e.F,{controls:!0,src:k.acf["video-id"],poster:k.image.source})}):(0,d.jsx)("div",{className:"aspect-w-3 aspect-h-2",children:k.sneakers.length>0?(0,d.jsx)("a",{href:"/s/".concat(k.sneakers[0].slug,"/").concat(k.sneakers[0].id),children:(0,d.jsx)(i.default,{src:k.image.source||"/placeholder.jpg",alt:k.name,className:"object-cover rounded-lg",layout:"fill",quality:"100",priority:!0})}):(0,d.jsx)(i.default,{src:k.image.source||"/placeholder.jpg",alt:k.name,className:"object-cover rounded-lg",layout:"fill",quality:"100",priority:!0})}),(0,d.jsxs)("div",{className:"flex flex-col-reverse flex-wrap mt-8 mb-12 md:flex-row",children:[(0,d.jsx)("div",{className:"w-full md:w-1/3 md:pr-4",children:(0,d.jsxs)(q.Z,{offsetTop:112,offsetBottom:32,className:"sticky-box ",children:[(0,d.jsxs)("div",{className:"flex flex-col",children:[k.sneakers.map(function(a){return(0,d.jsx)("div",{className:"mb-8",children:(0,d.jsx)(g.wB,{item:a})},a.id)}),(null===(b=k.acf)||void 0===b?void 0:b.button_text)&&(0,d.jsx)(h.default,{href:k.acf.url,children:(0,d.jsxs)("a",{target:"_blank",rel:"nofollow",className:"flex items-center justify-between px-4 py-2 mb-8 space-x-2 text-sm font-medium bg-gray-100 rounded-full focus:outline-none",children:[(0,d.jsx)("span",{children:k.acf.button_text}),(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})}),(0,d.jsx)("h2",{className:"mb-4 text-lg font-medium tracking-tight font-brand",children:s("credits")}),(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("div",{className:"font-semibold",children:r("by")}),(0,d.jsx)("div",{className:"font-light",children:(0,d.jsx)(h.default,{href:"/news/".concat(k.author_slug),children:(0,d.jsx)("a",{children:k.author})})})]}),(null===(c=k.acf)||void 0===c?void 0:c.source_name)&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsx)("div",{className:"font-semibold",children:r("photo-credits")}),(0,d.jsx)("div",{className:"font-light",children:(0,d.jsx)(h.default,{href:k.acf.source_url,children:(0,d.jsx)("a",{target:"_blank",rel:"nofollow",children:k.acf.source_name})})})]})]}),k.tags&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("h2",{className:"mt-8 mb-4 text-lg font-medium tracking-tight font-brand",children:s("tags")}),(0,d.jsx)("div",{className:"flex flex-wrap",children:k.tags.map(function(a){return(0,d.jsx)(h.default,{href:"/news/".concat(a.slug),children:(0,d.jsxs)("a",{className:"px-3 py-1 mb-2 mr-2 text-sm text-white rounded-full bg-primary-500",children:["#",a.slug.replace(/-/g,"")]})},a.slug)})})]})]})}),(0,d.jsxs)("div",{className:"w-full md:w-2/3 md:pl-4",children:[(0,d.jsx)("article",{className:"mb-8 wordpress",dangerouslySetInnerHTML:{__html:k.content}}),k.images&&(0,d.jsx)("div",{className:"mb-8 space-y-4",children:k.images.map(function(a){return(0,d.jsx)("div",{children:(0,d.jsx)(i.default,{src:a.url,alt:a.alt,height:a.height,width:a.width})},a.id)})})]})]})]}),(0,d.jsx)("div",{className:"relative items-start flex w-full px-4 mb-12 md:w-4/12 sidebar",children:(0,d.jsx)(q.Z,{offsetTop:100,className:"sticky-box w-full",children:k.sneakers.map(function(a){return(0,d.jsxs)("div",{children:[u.length>1&&(0,d.jsxs)("div",{className:"flex items-center rounded-xl mb-4",children:[(0,d.jsx)(i.default,{src:a.image_url,alt:"",height:85,width:85,className:"w-2/12 rounded-lg bg-slate-50 "}),(0,d.jsx)("p",{className:"md:text-xl text-sm font-semibold md:ml-4 tracking-tight font-brand line-clamp-2 ml-4 ",children:a.name})]}),a.links_webshops.length>0&&(0,d.jsxs)("div",{className:"flex items-center mb-4 space-x-2 bg-white ",children:[(0,d.jsx)(f.IS8,{className:"w-6 h-6 text-primary-500"}),(0,d.jsx)("h2",{className:"mt-1 text-xl font-semibold leading-none tracking-tight font-brand",children:t("available-at")})]}),(0,d.jsx)("div",{className:"grid grid-cols-1 mb-4 divide-y ".concat(0===a.links_webshops.length&&"hidden"),children:a.links_webshops.map(function(b){return(0,d.jsx)(l,{link:b,id:a.id},b.id)})}),a.links_raffles.length>0&&(0,d.jsxs)("div",{className:"flex items-center mb-4 space-x-2 bg-white",children:[(0,d.jsx)(f.Prq,{className:"w-6 h-6 text-primary-500"}),(0,d.jsx)("h2",{className:"mt-1 text-xl font-semibold leading-none tracking-tight font-brand",children:t("raffles-at")})]}),(0,d.jsx)("div",{className:"grid grid-cols-1 mb-4 divide-y".concat(0===a.links_raffles.length&&"hidden"),children:a.links_raffles.length>0&&a.links_raffles.map(function(b){return(0,d.jsx)(g.TG,{link:b,id:a.id},b.id)})}),a.links_resellers.length>0&&(0,d.jsxs)("div",{className:"flex items-center mb-4 space-x-2 bg-white ",children:[(0,d.jsx)(f.I_0,{className:"w-6 h-6 text-primary-500"}),(0,d.jsx)("h2",{className:"mt-1 text-xl font-semibold leading-none tracking-tight font-brand",children:t("market-at")})]}),(0,d.jsx)("div",{className:"grid grid-cols-1 mb-14 divide-y ".concat(0===a.links_resellers.length&&"hidden"),children:a.links_resellers.map(function(b){return(0,d.jsx)(l,{link:b,id:a.id},b.id)})})]},a.name)})})})]}),(0,d.jsx)(p.default,{id:"instagram-embed",src:"https://www.instagram.com/embed.js"}),(0,d.jsx)(p.default,{id:"monotote-publiser-key",children:"window._mnt = { publisherKey: '2y10lchxx5y5vrv6o2adozd12oj1ox8jscqpzjbktcpfohnwjfuajcd1w' }"}),(0,d.jsx)(p.default,{id:"monotote",src:"https://plugin1.monotote.com/plugin.min.js?".concat(Date.now())})]})}}},function(a){a.O(0,[935,153,643,774,888,179],function(){return a(a.s=9237)}),_N_E=a.O()}])